const koa = require('koa');
const { koaBody } = require('koa-body');

const app = new koa();
const userRouter = require('../router/user.router')
app.use(koaBody())
app.use(userRouter.routes())

module.exports = app